<?
if ($_POST[text])
{
$text = urldecode($_POST['text']);
//$text = iconv("UTF-8", "WINDOWS-1251", $word);
include "remotetypograf.php";

//$remoteTypograf = new RemoteTypograf();
$remoteTypograf = new RemoteTypograf ('UTF-8');

$remoteTypograf->htmlEntities();
$remoteTypograf->br (false);
$remoteTypograf->p (true);
$remoteTypograf->nobr (3);
print $remoteTypograf->processText ($text);
}
?>
